//package net.lzzy.practices.repositonies;
//
//import net.lzzy.practices.entities.Question;
//import org.springframework.data.domain.Pageable;
//import org.springframework.data.jpa.repository.JpaRepository;
//
//import java.util.List;
//import java.util.UUID;
//
///**
// * @author m
// */
//public interface QuestionRepository extends JpaRepository<Question, UUID> {
//    List<Question> findQuestionsByChapterIdOrderByOrdinal(UUID id);
//
//    List<Question> findQuestionsByChapterIdOrderByOrdinal(UUID id,Pageable page);
//
//    Integer countAllByChapterId(UUID id);
//
//
//}
